Package-level declarations

Types

Link copied to clipboard
class AccountTransferClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable

API Secret을 사용해 포트원 API 클라이언트를 생성합니다.

Link copied to clipboard
@Serializable
data class GetPlatformAccountTransfersResponse(val items: List<PlatformAccountTransfer>, val page: PageInfo)

이체내역 다건 조회 성공 응답 정보

Link copied to clipboard
@Serializable(with = PlatformAccountTransferSerializer::class)
sealed interface PlatformAccountTransfer

계좌 이체

Link copied to clipboard
@Serializable
data class PlatformAccountTransferFilter(val tradeTimestampRange: DateTimeRange? = null, val accountTransferId: String? = null, val types: List<PlatformAccountTransferType>? = null, val statuses: List<Status>? = null, val depositorName: String? = null, val depositAccountHolder: String? = null, val depositMemo: String? = null, val withdrawalMemo: String? = null)
Link copied to clipboard
@Serializable(with = PlatformAccountTransferTypeSerializer::class)
sealed interface PlatformAccountTransferType

계좌 이체 유형

Link copied to clipboard
@Serializable
@SerialName(value = "DEPOSIT")
data class PlatformDepositAccountTransfer(val id: String, val currency: Currency, val amount: Long, val depositMemo: String? = null, val tradedAt: @Serializable(with = InstantSerializer::class) Instant? = null, val createdAt: @Serializable(with = InstantSerializer::class) Instant, val updatedAt: @Serializable(with = InstantSerializer::class) Instant, val depositorName: String, val isForTest: Boolean) : PlatformAccountTransfer.Recognized
Link copied to clipboard
@Serializable
@SerialName(value = "WITHDRAWAL")
data class PlatformWithdrawalAccountTransfer(val id: String, val sequenceNumber: Int, val currency: Currency, val depositBank: Bank, val depositAccountNumber: String, val depositAccountHolder: String, val amount: Long, val withdrawalMemo: String? = null, val depositMemo: String? = null, val balance: Long? = null, val failReason: String? = null, val tradedAt: @Serializable(with = InstantSerializer::class) Instant? = null, val createdAt: @Serializable(with = InstantSerializer::class) Instant, val updatedAt: @Serializable(with = InstantSerializer::class) Instant, val isForTest: Boolean, val withdrawalType: Type, val partnerId: String? = null, val partnerGraphqlId: String? = null, val bulkPayoutId: String? = null, val bulkPayoutGraphqlId: String? = null, val payoutId: String? = null, val payoutGraphqlId: String? = null, val documentId: String? = null) : PlatformAccountTransfer.Recognized
Link copied to clipboard
@Serializable(with = StatusSerializer::class)
sealed interface Status

계좌 이체 상태

Link copied to clipboard
@Serializable(with = TypeSerializer::class)
sealed interface Type